﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CharacterCreation.Business.ViewModels
{
    [Description("Race")]
    public class VMRace : ViewModelBase
    {
        [Required(ErrorMessage = "The name of the race is required")]
        [StringLength(50, MinimumLength = 3)]
        [Display(Name = "Race name")]
        public string Name { get; set; }

        [Display(Name = "Description")]
        [DataType(DataType.MultilineText)]
        public string Description { get; set; }

        [Display(Name = "Priority point cost")]
        public int PriorityPoints { get; set; }

        public int FreeXP { get; set; }

        public int StrengthBonus { get; set; }
        
        public int DexterityBonus { get; set; }
        
        public int FightingBonus { get; set; }
        
        public int ConstitutionBonus { get; set; }
        
        public int PerceptionBonus { get; set; }
        
        public int IntelligenceBonus { get; set; }

        public int WillPowerBonus { get; set; }

        public int CharismaBonus { get; set; }

        public int HitPointsBonus { get; set; }

        public int EssenceBonus { get; set; }
    }
}
